<template>
  <el-carousel arrow="never" height="auto">
    <el-carousel-item
      v-for="item in 4"
      :key="item"
      :style="{ height: height || 500 + 'px' }"
    >
      <img src="@/pages/mall/assets/images/img.png" />
    </el-carousel-item>
  </el-carousel>
</template>

<script setup lang="ts">
defineProps<{
  height?: string
}>()
</script>

<style scoped lang="scss">
img {
  width: 100%;
  height: 100%;
}
</style>
